home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / time / eclock / eclock docs / eclock.doc < prev    next >
Encoding:
Text File  |  1994-06-19  |  18.9 KB  |  569 lines

  1.                                 EClock
  2.  
  3.                       Version 1.00 from 22.05.94
  4.  
  5.                Upgrade of Clock V2.2 (totally rewritten)
  6.  
  7.                       Copyright (C) 1992-1994 by
  8.  
  9.                             Bernd Grunwald
  10.  
  11.                             Zugspitzstr.78
  12.  
  13.                             82223 Eichenau
  14.  
  15.                            Germany (Europe)
  16.  
  17.                 The passing-on will be only allowed if
  18.  
  19. the author's name and the note of the copyright have NOT been removed,
  20.  
  21.     if the passing-on is free or ONLY the copy-fees are covered and
  22.  
  23.                   this doc-file is always included !
  24.  
  25.            *The passing-on of the Key-File is NOT allowed!*
  26.  
  27. *THE AUTHOR WILL NOT BE LIABLE FOR ANY DAMAGES CAUSED BY THIS PROGRAM*
  28.  
  29. What is EClock?
  30. ***************
  31.  
  32. EClock is a Clock-prog (what else :-)) which can be started from the
  33. CLI as well as from the Workbench. It's not extraordinary but it
  34. includes some usefull features:  EClock is able to pop up on the
  35. momentary screen automatically, you can choose as many alert times as
  36. you like ...
  37.  
  38. Why have I renamed Clock v2.2 into EClock?
  39.  
  40. Clock started as a little assembler program with a source code length of
  41. about 4KB. Because many improvements were sent to me I included most of
  42. them in this source to please your needs :-). But then suddenly I
  43. reached a point from that on I was searching longer for where to insert
  44. the improvement than coding that feature.  (1) That's why I decided to
  45. completely recode Clock, and change the name.
  46.  
  47. Because I had to learn Modula II at my university I bought a compiler
  48. for my Amiga. I liked it so much that I decided to write the new EClock
  49. in Modula II, to make it easier to include new features and remove bugs
  50. ...
  51.  
  52. The key-file for registered Clock users is of course the same one as
  53. the one for registered EClock users. That means all registered (*Note
  54. Registration: Registration) Clock Users can use EClock without that
  55. requester going on your nerves, when you start EClock.
  56.  
  57. ---------- Footnotes ----------
  58.  
  59. (1)  Among programers known as spaghetti code :-)
  60.  
  61. Differences Clock/EClock
  62. ************************
  63.  
  64.    *     There are two modi of EClock:
  65.  
  66.         -      UsePublicScreens only (*Note EClockPrefs: Main window
  67.           gadgets)      (use only PublicScreens to appear on) and
  68.           therefore is mostly system conform.
  69.  
  70.         -      UseEveryScreen (uses every screen to appear on) is not
  71.           as system conform,      but perhaps you want to have a clock
  72.           that appears also on screens like      DPaint, PPaint ...
  73.  
  74.    *     EClock now consists of three parts.
  75.  
  76.         -      EClock, the main program (*Note EClock: EClock), that is
  77.           active the hole time.
  78.  
  79.         -      EClockPrefs, the configuration program (*Note
  80.           EClockPrefs: EClockPrefs).
  81.  
  82.         -      And ERequester (*Note ERequester: ERequester), that is
  83.           started, whenever      you wish an alert requester to appear.
  84.  
  85.      This division was made, because you don't often have to use the
  86.      configuration program     and therefore don't have to waste the
  87.      memory for this part of EClock.
  88.  
  89.    *     EClock has no limitation of the number of alert times.
  90.      (*Note timer-prefs: EClockPrefs timer window).      They are
  91.      depending only of the amount of memory you have and from the amount
  92.         of processor time you want EClock to give for handling the
  93.      alert times.
  94.  
  95.    *     EClock supports wildcards. That means you can use e.g.
  96.      "??:00:00#?"  for     an hourly alert or "(??:00:00#?|??:30:00#?)"
  97.      for an half hourly alert.
  98.  
  99.    *     EClock is now also able to start an alert at a special date or
  100.      day.      Wirldcards are of course supported so that you can e.g.
  101.      enter     "(Thu#?|Fr#?)" for Thursday and Friday. (Be carefull
  102.      this is localized)
  103.  
  104.    *     EClock will replace the following 3 characters in the
  105.      requester text:
  106.  
  107.     `\'
  108.           This character will be changed to a return, so that a new
  109.           line is     started in the requester window. Now you are able
  110.           to create nicer     looking requesters with as many lines as
  111.           you like :-).
  112.  
  113.     `%t'
  114.           This character will be replaced by the time the requester is
  115.           started.
  116.  
  117.     `%d'
  118.           This character will be replaced by the date the requester is
  119.           started.
  120.  
  121.    *     Now, you can define as many screens, as you like to open
  122.      EClock on.      (*Note screen-prefs: EClockPrefs screen window).
  123.        You can select the x- and y-position ... where EClock should
  124.      open its     window on that screen. EClock will always prefer
  125.      screens, that are placed above     other ones in the listview
  126.      gadget.
  127.  
  128. Installation
  129. ************
  130.  
  131. At first you have to copy the file ERequester somewhere, where it can
  132. be found by the system (be sure you added it in the path list), but you
  133. should prefer the "c:" directory. You need this file to use the
  134. requester feature of EClock.
  135.  
  136. Now you should copy the EClock program (and its icon) in the
  137. "SYS:WBStartup" drawer or somewhere else, but then you have to start it
  138. by hand in the "S:User-Startup" sequence. This is the main program of
  139. the EClock package.
  140.  
  141. Then you should copy EClockPrefs (and its icon) in the "SYS:Prefs"
  142. drawer, because EClock searches for it in that drawer.
  143.  
  144. If you have installed the locale.library (WB2.1+) and you want to
  145. install the german catalog file (Sorry I have nobody, who translates my
  146. catalog file in other languages than english and german, so if you
  147. would do that and sent it to me you will get the newest registered
  148. version of EClock from me for free!) you have to copy the file
  149. "EClPrefs.catalog" to "locale:Catalogs/Deutsch".
  150.  
  151. Now you *have to* run EClockPrefs and save a configuration, because
  152. EClock needs a proper one to start, otherwise EClock will inform you,
  153. that it couldn't find the prefs file "env:EClock.config" ...
  154.  
  155. Now you can start EClock and admire it :-)
  156.  
  157. Or just use the installation script ...
  158.  
  159. Program explanations
  160. ********************
  161.  
  162. EClock
  163. ======
  164.  
  165. EClock menu
  166. -----------
  167.  
  168. The menu of the EClock main program consists of the following parts:
  169.  
  170. `Change Prefs'
  171.      Starts the program "SYS:Prefs/EClockPrefs"
  172.  
  173. `Change Colors'
  174.      starts the reqtools color requester on the screen EClock     is
  175.      currently on. But you have to be aware that EClock is not
  176.      running as long as you close the requester again, so that no
  177.      alert can be recognized when you don't close the requester ...
  178.  
  179. `About'
  180.      starts the program ERequester and shows my address ...
  181.  
  182. `Quit'
  183.      What do you think that will do? :-)
  184.  
  185. EClock window
  186. -------------
  187.  
  188. There are two possiblilties to control EClock:
  189.  
  190. `The zoom gadget'
  191.      If you click on that gadget EClock will immediately disappear from
  192.         the screen it currently is on and will never appear on it
  193.      again.      But there is only one screen (by address) saved on
  194.      which EClock     should not appear, so if you want to bring EClock
  195.      back to the     screen you once pressed the zoom gadget on, you
  196.      only have to     press that gadget on another screen, so that
  197.      EClock can     disapear from that screen and so on ...
  198.  
  199.      This gadget was designed for you to close public screens EClock has
  200.         its window open on at the moment.
  201.  
  202. `Close gadget'
  203.      What do you think that will do? :-)
  204.  
  205. EClock shell startup
  206. --------------------
  207.  
  208. To start EClock with another config file EClock supports a   CLI
  209. argument.
  210.  
  211.         e.g. "EClock ENV:EClock.config"
  212.  
  213. EClockPrefs
  214. ===========
  215.  
  216. EClockPrefs main window
  217. -----------------------
  218.  
  219. Main window menus
  220. .................
  221.  
  222. The EClockPrefs main window consists of the following parts:
  223.  
  224. `Open...'
  225.      With this menu item you can load another config file.          An
  226.      ASL-Requester will be started for you to select the config file
  227.          to load.
  228.  
  229. `Save As...'
  230.      With this menu item you can save the config file with another
  231.      filename.          An ASL-Requester will be started for you to
  232.      select the config file         to save.
  233.  
  234. `About'
  235.      My address ...  is shown in a requester.
  236.  
  237. `Quit'
  238.      What do you think that will do? :-)
  239.  
  240. Main window gadgets
  241. ...................
  242.  
  243. The gadgets in the EClockPrefs main window consist of the following 4
  244. parts:
  245. `Global Settings'
  246.     `German Time'
  247.           Activates the 24 hour mode.
  248.  
  249.     `Long Day String...'
  250.           Activates the full day names, otherwise 2 letters.
  251.  
  252.     `Date with "."'
  253.           Activates the date division by ".", otherwise by "-".
  254.  
  255.     `Use Only PubScreens'
  256.           Activates a system conform way to handle screens.
  257.           But this means, EClock is only able to appear on public
  258.           screens.
  259.  
  260.     `Priority'
  261.           Here you can select the task priority EClock should run with.
  262.                     If you want to use the alert feature try a
  263.           priority of 6 to 1.
  264.  
  265. `Screen Prefs'
  266.     `Listview'
  267.           Doubble clicking on one element of the List will activate
  268.                 the EClockPrefs screen window            (*Note Screen
  269.           window: EClockPrefs screen window).
  270.  
  271.           The higher an entry is located in the list the earlier
  272.              it is compared to the screen names and if one screen name
  273.                     matches the the first pattern it will appear on it
  274.           without            checking the other entries.
  275.  
  276.     `ADD'
  277.           Adding a new entry to the list. (Will always be appended at
  278.           the            end of the list.)
  279.  
  280.     `DEL'
  281.           Deletes a selected entry.
  282.  
  283.     `UP'
  284.           The activated entry will step one place up in the list.
  285.  
  286.     `DOWN'
  287.           The activated entry will step one place down in the list.
  288.  
  289. `TimerPrefs'
  290.     `Listview'
  291.           Doubble clicking on one element of the list will activate
  292.                 the EClockPrefs screen window            (*Note Timer
  293.           window: EClockPrefs timer window).
  294.  
  295.     `ADD'
  296.           Adding a new entry to the list. (Will always be appended at
  297.           the            end of the list.)
  298.  
  299.     `DEL'
  300.           Deletes a selected entry.
  301.  
  302.     `UP'
  303.           The activated entry will step one place up in the list.
  304.  
  305.     `DOWN'
  306.           The activated entry will step one place down in the list.
  307.  
  308. `Actions'
  309.     `SAVE'
  310.           Saves the file EClock.config in the ENV: and ENVARC:
  311.            drawer. If a config file was given at the start of
  312.           EClockPrefs or            if you selected a config file with
  313.           the menu item "Open..."            then the config file is
  314.           *only* saved under that name.
  315.  
  316.     `USE'
  317.           Saves the file EClock.config in the ENV:            drawer.
  318.           If a config file was given at the start of EClockPrefs or
  319.                 if you selected a config file with the menu item
  320.           "Open..."            then the config file is saved under that
  321.           name.
  322.  
  323.     `CANCEL'
  324.           Cancels the made changes without saving (the same as the close
  325.                     gadget).
  326.  
  327. EClockPrefs screen window
  328. -------------------------
  329.  
  330. `Screen pattern'
  331.      Here you can enter a pattern with wildcards (#? ...)         (It
  332.      is not case sensitiv). If the pattern matches with the
  333.      momentary screen then EClock will appear on it.
  334.  
  335.      You have to remember, that the list is scanned from the 1. entry
  336.           in the list and the first matching entry will be used.
  337.  
  338. `XPOS'
  339.      Here you can select the x-position, where EClock should
  340.      open its window on the "Screen pattern" screen(s).
  341.  
  342. `YPOS'
  343.      Here you can select the y-position, where EClock should
  344.      open its window on the "Screen pattern" screen(s).
  345.  
  346. `Show Date'
  347.      Activates the date display in the EClock window on that screen.
  348.  
  349. `Show memory'
  350.      Activates the memory display in the EClock window on that screen.
  351.  
  352. `OK'
  353.      Will copy changes to the list.
  354.  
  355. `CANCEL'
  356.      Cancels the made changes (the same as the close gadget).
  357.  
  358. EClockPrefs timer window
  359. ------------------------
  360.  
  361. `Weekly'
  362.      If this gadget is activated then it will not be compared the
  363.      datestring         for matching to an alert, but the daystring
  364.      will be used.          Thats why it is possible to start an alert
  365.      at special days (every week)         and not only on special
  366.      dates. (e.g. "(Th#?|Fr#?)" as "Date Pattern")
  367.  
  368. `Date Pattern'
  369.      Here you can enter a pattern with wildcards (#? ...)         (It
  370.      is not case sensitiv). If the pattern matches with the
  371.      actual date and the "Time Pattern" matches then EClock
  372.      will start an alert.
  373.  
  374.      e.g. "Th#?" + activated "Weekly" =>         only on Thursdays
  375.      something happens.
  376.  
  377. `Time Pattern'
  378.      Here you can enter a pattern with wildcards (#? ...)         (It
  379.      is not case sensitiv). If the pattern matches with the
  380.      actual time and the "Date Pattern" matches then EClock
  381.      will start an alert.
  382.  
  383.     `German'
  384.           e.g. "#?:00:00" => every full hour an alert is started.
  385.  
  386.     `English'
  387.           e.g. "(#?:30:00#?|#?:00:00#?)" => every half hour an alert
  388.                is started.           The "#?" after "#?:30:00" and
  389.           "#?:00:00" is important because          an english time will
  390.           end with "PM" or "AM".
  391.  
  392. `Req'
  393.      Activates a requester, that is started every time an alert
  394.      occurs. This requester will be created by the program
  395.      ERequester, that is started at an alert with the
  396.      arguments selected in "Req. Text".
  397.  
  398. `Req. Text'
  399.      Here you can enter the text you want to appear in the
  400.      requester. The ASCII code 254 is *not* allowed          and will
  401.      be filtered out in all string gadgets.
  402.  
  403.      The character "\" is used for a linefeed. You can
  404.      therefore create nicer looking requesters as you could with
  405.       Clock 2.2. The requester is startet always on the momentary
  406.         public screen, or if no one is in front it will use the
  407.       Workbench.
  408.  
  409. `File'
  410.      Activates a program, that is started when an alert occurs.
  411.       (it will be started with "RUN <NIL: >NIL:")
  412.  
  413.      If this gadget is activated the program, with the name
  414.      selected in the "Filename" gadget, will be started.
  415.  
  416. `Filename'
  417.      Here you can enter the filename with arguments, that is
  418.      started on an alert.
  419.  
  420. `G'
  421.      Opens an ASL-filerequester to select the program in the
  422.      "Filename" gadget.
  423.  
  424. `DisplayBeep'
  425.      Activates a DisplayBeep on an alert.
  426.  
  427. `OK'
  428.      Will copy changes to the list.
  429.  
  430. `CANCEL'
  431.      Cancels the made changes (the same as the close gadget).
  432.  
  433. EClockPrefs shell startup
  434. -------------------------
  435.  
  436. You can start EClockPrefs with an argument (the config file name).
  437. (This is used by EClock if it starts EClockPrefs by menu)
  438.  
  439. ERequester
  440. ==========
  441.  
  442. ERequester is a little program that shows a requester on the visible
  443. public screen or, if no one is in front, on the Workbench.
  444.  
  445. The text shown in the requester is given to ERequester by a CLI
  446. argument at   the start.
  447.  
  448. The character "\" will be converted to a return, to be able to create
  449. requesters with several lines.
  450.  
  451.         e.g. `ERequester "Hello it is very late now\:-)"'
  452.  
  453. Registration
  454. ************
  455.  
  456. If you use EClock longer than 1 week you have to register. Then you will
  457.  either get a key-file via Fido or Z-Net, or a disc with the new EClock
  458.  Version, key-file and a few little bonus programs.
  459.  
  460. For interested persons, I will include the source code of Clock v2.3.
  461. If they can't stand the new EClock, they can edit Clock and fullfill
  462. their needs with that new program. But you then *have* to send   me a
  463. copy of that program for free (and every new version) if you   pass
  464. your version on (in any way). My name and address have to be left in
  465. that   modified versions, but you are free to add your name ...
  466.  
  467. If you´ve got the key-file the info window will not be shown anymore
  468. in the beginning.    The key-file will also be usable (who knows; see
  469. keyfilemaker for   LHA ... ) with later versions of EClock so I think
  470. it is affordable   for everyone. If you then get a new EClock Version
  471. via Net or PD disc   you can use it without any windows or requesters
  472. going on your nerves.    In the key-file your name and address are
  473. saved, so that I can quickly   say from whom this file is. So don´t
  474. pass-on this key-file, because it   is *not* allowed!
  475.  
  476. For the costs of registration see the included registration form.
  477. (please only use this form)
  478.  
  479. The newest EClock Version will be put in the "Avalon Magic" Mailbox
  480. where you can easily get it from like this:
  481.  
  482. As username you type "SAUGER" then you type   "CD /SAUGER/AMIGA" and
  483. with "INH *" you can take a look at the files   that are in that area.
  484. To download the newest EClock version   you just type "LE xx" (where xx
  485. = is the number of EClock in the filelist).
  486.  
  487.                    *The telefon number of the AMC:*
  488.  
  489.               1200 - 14400 Bps HST V32 V32bis V42 V42bis
  490.  
  491.                   Tel: +49-(0)89-3130290  24h Online
  492.  
  493. If you are a registered Clock or EClock user you can also get a new
  494. version, if you sent me a letter with a disc and enough money for the
  495. stamps to sent the disc back to you.
  496.  
  497. Remarks
  498. *******
  499.  
  500. If you have suggestions or improvement proposals ... I can be reached
  501. by email:
  502.  
  503. Zerberus-Net:
  504.      EMBO@AMC.insider.sub.de     (or EMBO@NATHAN.gun.de)
  505.  
  506. or Fidonet:
  507.      Bernd Grunwald of 2:2480/3508.100
  508.  
  509. if nothing else works (1) also InterNet:
  510.      embo@eikon.e-technik.tu-muenchen.de
  511.  
  512.                      *Have fun with that program!*
  513.                            *Flames => NIL:*
  514. *If the program doesn't work as its name promises, please send
  515.   me your equipment-list (computer, kick-version, workbench,
  516.  startup-sequence)! Don't forget a detailed error report! ...*
  517. Many thanx to:
  518.      Toni Günzel Peltner (WEGAR@AMC.insider.sub.de) for betatesting
  519.      and for the     *SUPER* progam TheAnswer III !!
  520.  
  521.      Holgi (H_LEVSEN@BINGO.zer.sub.org)
  522.  
  523.      Peter Fröhlich (P.FROEHLICH@AMC.insider.sub.de)
  524.  
  525.      Thomas Strauß  (THOMAS_STRAUSS@SAARAG.zer.sub.org)
  526.  
  527.      Stefan Brandes and all other people, computers, coffee-cups
  528.      (I hate coffee :-) ) ...
  529.  
  530. ---------- Footnotes ----------
  531.  
  532. (1)  that can last a long time, because I am not very often at my
  533. University to read mails ...
  534.  
  535. History
  536. *******
  537.  
  538. Nothing yet :-)
  539.  
  540. Tips & hints
  541. ************
  542.  
  543. Index
  544. *****
  545.  
  546. * Menu:
  547.  
  548. * Differences Clock/EClock:             Differences Clock/EClock.
  549. * EClock:                               EClock.
  550. * EClock menu:                          EClock menu.
  551. * EClock shell startup:                 EClock shell startup.
  552. * EClock window:                        EClock window.
  553. * EClockPrefs:                          EClockPrefs.
  554. * EClockPrefs main window:              EClockPrefs main window.
  555. * EClockPrefs screen window:            EClockPrefs screen window.
  556. * EClockPrefs shell startup:            EClockPrefs shell startup.
  557. * EClockPrefs timer window:             EClockPrefs timer window.
  558. * ERequester:                           ERequester.
  559. * History:                              History.
  560. * Installation:                         Installation.
  561. * Main window gadgets:                  Main window gadgets.
  562. * Main window menus:                    Main window menus.
  563. * Program explanations:                 Program explanations.
  564. * Registration:                         Registration.
  565. * Remarks:                              Remarks.
  566. * Tips & hints:                         Tips & hints.
  567. * What is EClock?:                      What is EClock?.
  568.  
  569.